package com.onlineexam.mapper;


import com.onlineexam.bean.ExamRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ExamRecordMapper {
    //考试记录列表
    @Select("SELECT b.*,record_id as 'recordId',start_time as 'startTime',end_time as 'endTime' from exam_record b;")
    List<ExamRecord> list();


}
